package cn.edu.xmu.wnw.pojo;

import java.util.Date;


/**
 * Discussion entity. @author MyEclipse Persistence Tools
 */

public class Discussion  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Title title;
     private String content;
     private Date createTime;
     private String authorUserName;


    // Constructors

    /** default constructor */
    public Discussion() {
    }

    
    /** full constructor */
    public Discussion(Title title, String content, Date createTime, String authorUserName) {
        this.title = title;
        this.content = content;
        this.createTime = createTime;
        this.authorUserName = authorUserName;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Title getTitle() {
        return this.title;
    }
    
    public void setTitle(Title title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAuthorUserName() {
        return this.authorUserName;
    }
    
    public void setAuthorUserName(String authorUserName) {
        this.authorUserName = authorUserName;
    }
   








}